package com.wjjun.test.ui.viewmodel

import com.wjjun.base.ui.viewmodel.BaseItemViewModel
import com.wjjun.app.R

/**
 *
 * author : wangjunjun
 * date   : 2022/6/29
 * desc   :
 */
class TestMenuViewModel() : BaseItemViewModel<String>() {

    override fun getItemLayoutId(): Int {
        return R.layout.item_test_menu
    }

    constructor(name: String) : this() {
        setData(name)
    }

    override fun getItemSpanSize(maxSpan: Int): Int {
        return 1
    }
}